package com.testinterface;

/**
 * 这里是接口文件1
 * */

//飞行接口
public interface Volant {
   /*public static final */ int Fly_Height = 100;
   /*public abstract */ void fly();
}

//善良接口
interface Honest{
    void helpOther();
}


class GoodMan implements Honest{
    @Override
    public void helpOther() {
        System.out.println("扶老奶奶过马路。");
    }
}

class BirdMan implements Volant{
    @Override
    public void fly() {
        System.out.println("我在飞！");
    }
}

class Angel implements Volant,Honest{
    @Override
    public void fly() {
        System.out.println("我有翅膀，我在飞翔");
    }

    @Override
    public void helpOther() {
        System.out.println("爱神的箭我拿着呢！");
    }
}